package org.jflame.devAide.component.converter;

import org.jflame.commons.model.pair.KeyValuePair;

import javafx.util.StringConverter;

public class KVPairStringConverter<K,V> extends StringConverter<KeyValuePair<K,V>> {

    @Override
    public String toString(KeyValuePair<K,V> object) {
        return object.getKey()
                .toString();
    }

    @Override
    public KeyValuePair<K,V> fromString(String string) {
        return null;
    }

}
